<template>
  <el-tabs>
    <el-tab-pane v-for="option in dataSource" :name="option.name" :label="option.label" :key="option.name">
      <lab-resource-table :config="option" />
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import LabEvent from "@/mixins/LabEvent";
import LabResourceTable from "@/components/lab-resource/LabResourceTable";

export default {
  name: "LabResource",
  components: {LabResourceTable},
  mixins: [LabEvent],
  data() {
    return {
      /**
       * 标签列表
       * { name: xx, label: '', filters: [], templateLabel: '模板标签', signLabel: '签名标签' }
       */
      dataSource: []
    }
  }
}
</script>

<style scoped>

</style>
